-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[DataGridPro] Fix the return type of useGridApiRef
for Pro and Premium packages on React < 19
#16328
Conversation
Deploy preview: https://deploy-preview-16328--material-ui-x.netlify.app/ |
Cherry-pick PRs will be created targeting branches: v7.x |
…ium packages on React < 19 (#16328)
@genepaul Correct, this PR was merged yesterday and hasn't been released yet. The next release is planned for Thursday. |
Re-exported hook needs to be explicitly typed again to prevent type evaluation during build time to
React.RefObject
Content of
useGridApiRef.d.ts
for the Pro packagebefore changes:
after changes: